jquery loop through json

47

jquery loop through json -

var someObj = { foo: "bar"};

$.each(someObj, function(propName, propVal) {
  console.log(propName, propVal);
});

Comments

Submit
0 Comments